package cn.sy.domain;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author director
 * @since 2022-12-08
 */
@TableName("t_production_detailed")
public class ProductionDetailed extends Model<ProductionDetailed> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 产品名称
     */
    @TableField("product_name")
    private String productName;
    /**
     * 订单编号
     */
    @TableField("order_ref")
    private String orderRef;
    /**
     * 产品计划id
     */
    @TableField("t_proction_id")
    private Long tProctionId;
    /**
     * 计划生产数
     */
    @TableField("plan_production_number")
    private Long planProductionNumber;
    /**
     * 订单数量
     */
    @TableField("order_number")
    private Long orderNumber;
    /**
     * 生产要点
     */
    @TableField("production_points")
    private String productionPoints;
    /**
     * 备注
     */
    private String remarks;
    private Long status;
    @TableField("creat_time")
    private Date creatTime;
    @TableField("modify_time")
    private Date modifyTime;
    /**
     * 指定车间负责人
     */
    @TableField("duty_person")
    private String dutyPerson;
    /**
     * 产品图
     */
    @TableField("product_drawing")
    private String productDrawing;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getOrderRef() {
        return orderRef;
    }

    public void setOrderRef(String orderRef) {
        this.orderRef = orderRef;
    }

    public Long gettProctionId() {
        return tProctionId;
    }

    public void settProctionId(Long tProctionId) {
        this.tProctionId = tProctionId;
    }

    public Long getPlanProductionNumber() {
        return planProductionNumber;
    }

    public void setPlanProductionNumber(Long planProductionNumber) {
        this.planProductionNumber = planProductionNumber;
    }

    public Long getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Long orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getProductionPoints() {
        return productionPoints;
    }

    public void setProductionPoints(String productionPoints) {
        this.productionPoints = productionPoints;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getStatus() {
        return status;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getDutyPerson() {
        return dutyPerson;
    }

    public void setDutyPerson(String dutyPerson) {
        this.dutyPerson = dutyPerson;
    }

    public String getProductDrawing() {
        return productDrawing;
    }

    public void setProductDrawing(String productDrawing) {
        this.productDrawing = productDrawing;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ProductionDetailed{" +
        ", id=" + id +
        ", productName=" + productName +
        ", orderRef=" + orderRef +
        ", tProctionId=" + tProctionId +
        ", planProductionNumber=" + planProductionNumber +
        ", orderNumber=" + orderNumber +
        ", productionPoints=" + productionPoints +
        ", remarks=" + remarks +
        ", status=" + status +
        ", creatTime=" + creatTime +
        ", modifyTime=" + modifyTime +
        ", dutyPerson=" + dutyPerson +
        ", productDrawing=" + productDrawing +
        "}";
    }
}
